package edu.sctu.practice.class01.wulixia.month11_wlx.test22;

/**
 * Created by wulixia on 2015/11/12.
 */
public class InterfaceDemo {
    public static void main(String[] args) {

        Bike bike = new Bike();
        bike.start();
        bike.stop();

        Bus bus = new Bus();
        bus.start();
        bus.stop();

    }
}
//    interfaceDemo的main()方法中创建Bike和Bus对象，并访问start()和stop()方法